/*
 * 拆分英文名（3分）
 */

#include <stdio.h>

int main() {
	setbuf(stdout, NULL);

	char name[3];

	printf("Input your English name:\n");
	for (int i = 0; i < 3; ++i) {
		scanf("%c", &name[i]);
	}

	for (int i = 0; i < 3; ++i) {
		if (i == 0) {
			printf("%c", name[i]-32);
		} else {
			printf("%c", name[i]);
		}
	}
	printf("\n");

	for (int i = 0; i < 3; ++i) {
		printf("%c:%d\n", name[i], name[i] - 'a' + 1);
	}

	return 0;
}
